package BackOffice;

import javax.swing.*;

public class Start {
	private static JFrame Start = new JFrame();

	public static void main(String[] args) {
		treiberladen();
		Login L = new Login();
		Start.setSize(800, 600);
		Start.add(L);
		Start.setVisible(true);
	}

	private static void treiberladen() {
		try {
			Class.forName("org.gjt.mm.mysql.Driver").newInstance();
		} catch (Exception e) {
			System.err.println("Unable to load driver.");
			e.printStackTrace();
		}
	}

	public static JFrame getStart() {
		return Start;
	}

}
